package load.ogp;

import load.parent.Wrapper;
import core.InPort;

/**
 *
 * @author Ben
 */
public class Reference extends Wrapper{
    private InPort content = new InPort(Object.class,argChanged);

    @Override
    protected Object getWrappedObject(){
        return content.getValue();
    }

    public Reference() {
        super();
        setPorts();
    }

    private void setPorts(){
        this.putPort("argChanged", argChanged);
        this.autoPutPorts();
    }

    public Reference(java.lang.Class c){
        super(c);
        setPorts();
    }
}
